package com.aiyige.model.request;

/**
 * Created by xiachao on 2017/10/20.
 */
public class DetailRequest {

        //    进详情页的入口，0-首页，1-全局搜索，2-订单，3-收藏，4-浏览历史，5-缓存，6-商品管理，7-已买

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public DetailRequest(long goodsId,int enterType) {
        this.goodsId = goodsId;
        this.enterType = enterType;
    }

    public long goodsId;

    public int getEnterType() {
        return enterType;
    }

    public void setEnterType(int enterType) {
        this.enterType = enterType;
    }

    public int enterType;
}
